github.com/google/go-cmp/cmp.textRecord.Comment (field)

13 uses

	github.com/google/go-cmp/cmp (current package)
		report_reflect.go#L341: 				list = append(list, textRecord{Diff: opts.DiffMode, Value: textEllipsis, ElideComma: true, Comment: comment})
		report_slices.go#L275: 				return textRecord{Diff: d, Value: textLine(s), Comment: comment}
		report_text.go#L147: 	Comment    fmt.Stringer // e.g., "6 identical fields"
		report_text.go#L157: 			*s = append(*s, textRecord{Value: textEllipsis, ElideComma: true, Comment: ds})
		report_text.go#L164: 		(*s)[len(*s)-1].Comment = (*s)[len(*s)-1].Comment.(diffStats).Append(ds)
		report_text.go#L189: 			if !(r1.Diff == r2.Diff && r1.Key == r2.Key && r1.Value.Equal(r2.Value) && r1.Comment == r2.Comment) {
		report_text.go#L220: 		if r.Comment != nil {
		report_text.go#L249: 			return !isLine || r.Value.Equal(textEllipsis) || r.Comment == nil
		report_text.go#L260: 		isSimple = r.Diff == 0 && r.Key == "" && isLine && r.Comment == nil
		report_text.go#L303: 		if r.Comment != nil {
		report_text.go#L304: 			b = append(b, " // "+r.Comment.String()...)